[POC][PYTHON][SS] Arbitrary stateful processing in Structured Streaming with Python#37285
Closed
HyukjinKwon wants to merge 5 commits intoapache:masterfrom
Closed
[POC][PYTHON][SS] Arbitrary stateful processing in Structured Streaming with Python#37285HyukjinKwon wants to merge 5 commits intoapache:masterfrom
HyukjinKwon wants to merge 5 commits intoapache:masterfrom
Conversation
876df13 to
fe31805
Compare
Member
Author
867f834 to
e0a6c63
Compare
HyukjinKwon
commented
Aug 1, 2022
Member
Author
There was a problem hiding this comment.
Explain the (de)serialization format.
e0a6c63 to
8f7afbb
Compare
8f7afbb to
05fb4e4
Compare
HyukjinKwon
added a commit
that referenced
this pull request
Sep 13, 2022
…t trait ### What changes were proposed in this pull request? This PR proposes to factor the common attributes out from `FlatMapGroupsWithStateExec` to `FlatMapGroupsWithStateExecBase`. ### Why are the changes needed? There are a lot of stuff to share if you implement another version of `FlatMapGroupsWithStateExec`. Should better factor them out. This is also part of #37285 which demonstrates how the refactored trait is used. ### Does this PR introduce _any_ user-facing change? No, this is refactoring-only. ### How was this patch tested? Existing test cases should cover it. Closes #37859 from HyukjinKwon/SPARK-40411. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
Contributor
|
We can close this now. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
This PR adds the Python version of
Dataset.groupByKey(...).flatMapGroupsWithState(...)that isDataFrame.groupby(...).applyInPandasWithState(...)in PySpark.TBD
Note that documentation will be done in a separate PR given the size of the PR.
Why are the changes needed?
TBD
Does this PR introduce any user-facing change?
Yes, this PR adds a new API
DataFrame.groupby(...).applyInPandasWithState(...)in PySpark.How was this patch tested?
Manually tested, unittests and e2e tests were added in both Python and Scala sides.